home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 2002 November / SGI IRIX Base Documentation 2002 November.iso / usr / share / catman / p_man / cat3 / SCSL / sgbtrs.z / sgbtrs
Encoding:
Text File  |  2002-10-03  |  4.0 KB  |  133 lines

  1.  
  2.  
  3.  
  4. SSSSGGGGBBBBTTTTRRRRSSSS((((3333SSSS))))                                                          SSSSGGGGBBBBTTTTRRRRSSSS((((3333SSSS))))
  5.  
  6.  
  7.  
  8. NNNNAAAAMMMMEEEE
  9.      SGBTRS - solve a system of linear equations A * X = B or A' * X = B with
  10.      a general band matrix A using the LU factorization computed by SGBTRF
  11.  
  12. SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
  13.      SUBROUTINE SGBTRS( TRANS, N, KL, KU, NRHS, AB, LDAB, IPIV, B, LDB, INFO )
  14.  
  15.          CHARACTER      TRANS
  16.  
  17.          INTEGER        INFO, KL, KU, LDAB, LDB, N, NRHS
  18.  
  19.          INTEGER        IPIV( * )
  20.  
  21.          REAL           AB( LDAB, * ), B( LDB, * )
  22.  
  23. IIIIMMMMPPPPLLLLEEEEMMMMEEEENNNNTTTTAAAATTTTIIIIOOOONNNN
  24.      These routines are part of the SCSL Scientific Library and can be loaded
  25.      using either the -lscs or the -lscs_mp option.  The -lscs_mp option
  26.      directs the linker to use the multi-processor version of the library.
  27.  
  28.      When linking to SCSL with -lscs or -lscs_mp, the default integer size is
  29.      4 bytes (32 bits). Another version of SCSL is available in which integers
  30.      are 8 bytes (64 bits).  This version allows the user access to larger
  31.      memory sizes and helps when porting legacy Cray codes.  It can be loaded
  32.      by using the -lscs_i8 option or the -lscs_i8_mp option. A program may use
  33.      only one of the two versions; 4-byte integer and 8-byte integer library
  34.      calls cannot be mixed.
  35.  
  36. PPPPUUUURRRRPPPPOOOOSSSSEEEE
  37.      SGBTRS solves a system of linear equations A * X = B or A' * X = B with a
  38.      general band matrix A using the LU factorization computed by SGBTRF.
  39.  
  40. AAAARRRRGGGGUUUUMMMMEEEENNNNTTTTSSSS
  41.      TRANS   (input) CHARACTER*1
  42.              Specifies the form of the system of equations.  = 'N':  A * X = B
  43.              (No transpose)
  44.              = 'T':  A'* X = B  (Transpose)
  45.              = 'C':  A'* X = B  (Conjugate transpose = Transpose)
  46.  
  47.      N       (input) INTEGER
  48.              The order of the matrix A.  N >= 0.
  49.  
  50.      KL      (input) INTEGER
  51.              The number of subdiagonals within the band of A.  KL >= 0.
  52.  
  53.      KU      (input) INTEGER
  54.              The number of superdiagonals within the band of A.  KU >= 0.
  55.  
  56.      NRHS    (input) INTEGER
  57.              The number of right hand sides, i.e., the number of columns of
  58.              the matrix B.  NRHS >= 0.
  59.  
  60.  
  61.  
  62.  
  63.                                                                         PPPPaaaaggggeeee 1111
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70. SSSSGGGGBBBBTTTTRRRRSSSS((((3333SSSS))))                                                          SSSSGGGGBBBBTTTTRRRRSSSS((((3333SSSS))))
  71.  
  72.  
  73.  
  74.      AB      (input) REAL array, dimension (LDAB,N)
  75.              Details of the LU factorization of the band matrix A, as computed
  76.              by SGBTRF.  U is stored as an upper triangular band matrix with
  77.              KL+KU superdiagonals in rows 1 to KL+KU+1, and the multipliers
  78.              used during the factorization are stored in rows KL+KU+2 to
  79.              2*KL+KU+1.
  80.  
  81.      LDAB    (input) INTEGER
  82.              The leading dimension of the array AB.  LDAB >= 2*KL+KU+1.
  83.  
  84.      IPIV    (input) INTEGER array, dimension (N)
  85.              The pivot indices; for 1 <= i <= N, row i of the matrix was
  86.              interchanged with row IPIV(i).
  87.  
  88.      B       (input/output) REAL array, dimension (LDB,NRHS)
  89.              On entry, the right hand side matrix B.  On exit, the solution
  90.              matrix X.
  91.  
  92.      LDB     (input) INTEGER
  93.              The leading dimension of the array B.  LDB >= max(1,N).
  94.  
  95.      INFO    (output) INTEGER
  96.              = 0:  successful exit
  97.              < 0: if INFO = -i, the i-th argument had an illegal value
  98.  
  99. SSSSEEEEEEEE AAAALLLLSSSSOOOO
  100.      INTRO_LAPACK(3S), INTRO_SCSL(3S)
  101.  
  102.      This man page is available only online.
  103.  
  104.  
  105.  
  106.  
  107.  
  108.  
  109.  
  110.  
  111.  
  112.  
  113.  
  114.  
  115.  
  116.  
  117.  
  118.  
  119.  
  120.  
  121.  
  122.  
  123.  
  124.  
  125.  
  126.  
  127.  
  128.  
  129.                                                                         PPPPaaaaggggeeee 2222
  130.  
  131.  
  132.  
  133.